package com.mandao.oneplat.boot;

/**
 * Created by sunson on 2017/3/21.
 */
public class OnePlatConfig {

    private int httpPort = 8080;
    private String baseDir = "example";
    private boolean responsiveMode = false;
    private String templatePrefix = "/theme/";
    private String templateSuffix = ".html";
    private boolean templateCacheable = false;
    private String basePackages;
    private String mongoHost = "127.0.0.1";
    private int mongoPort = 27017;
    private String mongoDb = "OnePlat";


    public int getHttpPort() {
        return httpPort;
    }

    public void setHttpPort(int httpPort) {
        this.httpPort = httpPort;
    }

    public String getBaseDir() {
        return baseDir;
    }

    public void setBaseDir(String baseDir) {
        this.baseDir = baseDir;
    }

    public boolean isResponsiveMode() {
        return responsiveMode;
    }

    public void setResponsiveMode(boolean responsiveMode) {
        this.responsiveMode = responsiveMode;
    }

    public String getTemplatePrefix() {
        return templatePrefix;
    }

    public void setTemplatePrefix(String templatePrefix) {
        this.templatePrefix = templatePrefix;
    }

    public String getTemplateSuffix() {
        return templateSuffix;
    }

    public void setTemplateSuffix(String templateSuffix) {
        this.templateSuffix = templateSuffix;
    }

    public boolean isTemplateCacheable() {
        return templateCacheable;
    }

    public void setTemplateCacheable(boolean templateCacheable) {
        this.templateCacheable = templateCacheable;
    }

    public String getBasePackages() {
        return basePackages;
    }

    public void setBasePackages(String basePackages) {
        this.basePackages = basePackages;
    }

    public String getMongoHost() {
        return mongoHost;
    }

    public void setMongoHost(String mongoHost) {
        this.mongoHost = mongoHost;
    }

    public int getMongoPort() {
        return mongoPort;
    }

    public void setMongoPort(int mongoPort) {
        this.mongoPort = mongoPort;
    }

    public String getMongoDb() {
        return mongoDb;
    }

    public void setMongoDb(String mongoDb) {
        this.mongoDb = mongoDb;
    }
}
